package com.yonyou.yanwei.controller;

import com.yonyou.ucf.mdd.ext.base.BaseController;
import com.yonyou.ucf.mdd.ext.util.ResultMessage;
import com.yonyou.yanwei.service.YWCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;


@RestController
@RequestMapping("/ywHello")
public class YwHelloWorld {

    @Autowired
    public YWCardService cardService;

    /**
     * API 接口的发布
     */
    @PostMapping("/World")
    public String getExpenseCardByProject() {
        return "Hello World";
    }

}
